package com.objecteffects.template.web.action;

/**
 * @author Rusty Wright
 */
public final class TemplateView {
    public static final String MESSAGES = addBase("show_message.jsp");
    public static final String ERROR = addBase("tumblr_error.jsp");
    public static final String AUTH_START = addBase("auth_urls.jsp");
    public static final String AUTH_DONE = addBase("auth_urls_done.jsp");
    public static final String INPUT_START = addBase("input_tumblr.jsp");
    public static final String TUMBLR_START_ALL =
        addBase("tumblr_start_all.jsp");
    public static final String TUMBLR_START_URL =
        addBase("tumblr_start_url.jsp");
    public static final String TUMBLR_RESPONSE_URL =
        addBase("tumblr_response_url.jsp");
    public static final String LOGIN = addBase("user_login.jsp");
    public static final String REGISTER_START = addBase("user_register.jsp");
    public static final String REGISTER_COMPLETE =
        addBase("registration_complete.jsp");
    public static final String POSTS = addBase("posts.jsp");
    public static final String POSTS_DONE = addBase("posts_done.jsp");
    public static final String DRAFTS = addBase("drafts.jsp");
    public static final String QUEUE = addBase("queue.jsp");
    public static final String TUMBLR_METHODS_TEST =
        addBase("tumblr_methods_test.jsp");

    private static final String JSP_BASE = "/WEB-INF/jsp/";

    private TemplateView() {
        /**/
    }

    private static final String addBase(final String jsp) {
        return TemplateView.JSP_BASE + jsp;
    }
}
